﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false"  CodeFile="barnd.aspx.cs" Inherits="ClassManager_barnd" %>
<%@ Register Src="../extends/RecordControl.ascx" TagName="RecordControl" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">

         <script src="../kindeditor.js" type="text/javascript"></script>
        <script charset="utf-8" src="../kindeditor-min.js" type="text/javascript"></script>
        <script charset="utf-8" src="../lang/zh_CN.js" type="text/javascript"></script>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="../css/css.css" type="text/css" rel="stylesheet"/>
         <link rel="stylesheet" href="../themes/default/default.css" />
        <script src="../javascript/jscript.js" type="text/javascript"></script>
        <title>品牌</title>
    
      <script type="text/javascript">

        function SelectItemed(ctrlID,operateIndex,recordID)
       {
             if(operateIndex==1)
            {
               __doPostBack('<%= hideButton.UniqueID%>',recordID);
            }
            if(operateIndex==0)
            {
            
               window.location="Addbarnd.aspx?ID="+recordID;
            }
       }
        </script>
</head>
<body>
    <table class='table' cellspacing='1' cellpadding='3' width="98%" align='center' border='0'>
          <tbody>
            <tr>
              <td class='xingmu'>品牌管理</td>
            </tr>
                
             <tr>
                  <td class="hback"> 
                  &nbsp;&nbsp;<a href="Addbarnd.aspx">添加品牌</a>
                  </td>
             </tr>
    
          </tbody>
        </table>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
            <div>
           <asp:UpdatePanel ID="UpdatePanel1" runat="server">
         <ContentTemplate>
               <uc1:RecordControl ID="RecordControl2" runat="server" Query="SELECT BARNDID AS 品牌编码,NAME AS 品牌名称  FROM T_BARND " pageSize="20" where=" NAME "/>
                <asp:Button ID="hideButton" runat="server" Text="BAODAP"     style="display:none" OnClick="hideButton_Click"  />
                
                 </ContentTemplate>
        </asp:UpdatePanel>
            </div>
    </form>
</body>
</html>
